package com.company.ecis.service;

import com.company.ecis.entity.BindingCard;
import com.baomidou.mybatisplus.extension.service.IService;


import javax.servlet.http.HttpSession;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author testjava
 * @since 2022-08-04
 */
public interface BindingCardService extends IService<BindingCard> {
    /**
     * 获取 用户 绑定银行卡集合
     * @param username 用户名
     * @return 用户绑定的银行卡
     */
    List<BindingCard> selectCardsByUsername(String username);

    String bindCard(String password, String cardId, HttpSession session);

}
